89ad88b1b11f4a760434ca49bfdd0fe6f4276567,http/http1_1-parser/src/test/java/org/webpieces/httpparser/api/TestChunkedParsing.java,TestChunkedParsing,testSplitChunkBodyAndResponseAfter,#,118
Before Change
byte[] bytes = parser.marshalToBytes(resp);
byte[] chunked = chunkedData.getBytes();
HttpResponse resp400 = create400Response();
byte[] tail = parser.marshalToBytes(resp400);
int lengthOfChunked1stHalf = 15;
int lengthOfChunked2ndHalf = chunked.length - 15;
After Change
byte[] bytes = unwrap(parser.marshalToByteBuffer(resp));
byte[] chunked = chunkedData.getBytes();
HttpResponse resp400 = create400Response();
byte[] tail = unwrap(parser.marshalToByteBuffer(resp400));
int lengthOfChunked1stHalf = 15;
int lengthOfChunked2ndHalf = chunked.length - 15;